Windows Command Lines

  1. zip/unzip

    winrar x -y -ibck zip_file_name unzip_file_name //x means unzip, -y means yes to interrupted queries, -ibck means running in the background

  2. generate the file list under one folder

    dir D:\test /b >list.txt or dir D:\test /b >list.xls

  3. combine multiple compressed volumes

    copy /b logs.tar.gza* logs.tar.gz